<template>
    <div style="display: flex;">
        <div>
            <span class="round" :class="{ 'active': currentStep === 0 }">1</span>
            <span>填写核对信息</span>
        </div>
        <div class="element" :class="{ 'activeone': currentStep === 1 }">
            <span>........</span>
            <i class="el-icon-arrow-right"></i>
        </div>
        <!-- //线条 -->
        <div>
            <span class="round" :class="{ 'active': currentStep === 1 }">2</span>
            <span>提交订单</span>
        </div>
    </div>
</template>

<script>
export default {
    data() {
        return {
            currentStep: 1
        }
    }
}
</script>

<style lang="less" scoped>
.round {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 30px;
    margin-right: 8px;
    color: aliceblue;
    background-color: #d9d9d9;
}

.el-icon-arrow-right {
    font-size: 20px;
    margin-top: 5.5px;
    transform: translateX(-6px);
}

.element {
    margin-left: 15px;
    display: flex;
    justify-content: center;
    color: #d9d9d9;
    // background-color: #4796ff;
}

.active {
    // color: #4796ff;
    background-color: #4796ff;
}

.activeone {
    color: #4796ff;
}
</style>